﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Script.Serialization;
using Easy.Operation;



namespace Easy.Web.Service.Entity
{
    /// <summary>
    /// DeleteAttribute 的摘要说明
    /// </summary>
    public class DeleteForm : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {            
            context.Response.ContentType = "text/plain";
            string FormName = context.Request["FormName"];
            string EntityName = context.Request["EntityName"];
            bool isDeleteAttribute = EntitySetting_Function.isDeleteFrom(FormName, EntityName);
            context.Response.Write(isDeleteAttribute);               
        }
        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}